﻿using System;
using System.Web.UI;

namespace UDS.SubModule.CM.Stat
{
    /// <summary>
    /// sellmancontact 的摘要说明。
    /// </summary>
    public partial class SellManContactPage : Page
    {
        protected override void OnLoad(EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                ControlSellmanContactHistory1.SellmanID = (Request.QueryString["SellmanID"] == null) ? 0 : Int32.Parse(Request.QueryString["Sellmanid"]);
                ControlSellmanContactHistory1.BeginTime = (Request.QueryString["Begintime"] == null) ? DateTime.Now : DateTime.Parse(Request.QueryString["Begintime"]);
                ControlSellmanContactHistory1.EndTime = (Request.QueryString["Endtime"] == null) ? DateTime.Now : DateTime.Parse(Request.QueryString["Endtime"]);
                ControlSellmanContactHistory1.Type = (Request.QueryString["type"] == null) ? "" : Request.QueryString["type"];
            }

            base.OnLoad(e);
        }
    }
}